#include "Node.h"
#include "Branch.h"

Node::Node(bool coolDown, int nodeID)
{
	this->coolDown = coolDown;
	this->nodeID = nodeID;
	this->coolDownTime = 0.0f;
	
}

Node::~Node()
{}

//added 10/21/07
void Node::setCoolDown(bool coolDown)
{
	this->coolDown = coolDown;
	this->coolDownTime = 0.0f;
}

bool Node::inCoolDown()
{
	return this->coolDown;
}

int Node::getNodeID()
{
	return nodeID;
}

void Node::updateCoolDownTime(float dt)
{
	coolDownTime += dt;
}